package com.zhongx.xingcd.zxxcd.service.impl;

import com.zhongx.xingcd.zxxcd.mapper.UserLoginDao;
import com.zhongx.xingcd.zxxcd.service.UserLoginService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class UserLoginServiceImpl implements UserLoginService {

    @Autowired
    public UserLoginDao mapper;

    @Override
    public List getUserLoginMes(Map params) {
        return mapper.getUserLoginMes(params);
    }

    @Override
    public int addUserInfo(Map map) {
        return mapper.addUserInfo(map);
    }

    @Override
    public int getUserNumByName(String Name) {
        return mapper.getUserNumByName(Name);
    }

    @Override
    public int userLoginTime(String username, String lastlogin_time) {
        return mapper.userLoginTime(username,lastlogin_time);
    }

    @Override
    public String getUserJurisdiByName(String username) {
        return mapper.getUserJurisdiByName(username);
    }

    @Override
    public List getUserMesByAdmin(Map params) {
        return mapper.getUserMesByAdmin(params);
    }
}
